<%@ page language="java" import="java.util.*,com.gdpu.project.vo.*,com.gdpu.project.util.DateUtil1" pageEncoding="UTF-8"%>
<%@ include file="/share/taglib.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	List<CgInnovate> cgInnovatelist=(List<CgInnovate>)request.getAttribute("cgInnovatelist");
	int i=0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>指导学生科技创新列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.tabfont01 {	
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}
.font051 {font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}
.font201 {font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}
html { overflow-x: auto; overflow-y: auto; border:0;} 
-->
</style>
<link href="<%=basePath %>admin/achievementManager/css/css.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/achievementManager/css/style.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function topage(page){
	var form = document.forms[0];
	form.currentpage.value=page;
	form.submit();
}
function change(){
	var target = document.fom;
	target.action ="WritExcel.action";
	target.submit();
}
</SCRIPT>

<body>
<form name="fom" id="fom" method="post" action="<%=basePath%>advanceSearch.action">
	<input type="hidden" name="currentpage" value='1'/>
	<input type="hidden" name="college" value='<s:property value="college"/>'/>
	<input type="hidden" name="postion" value='<s:property value="postion"/>'/>
	<input type="hidden" name="department" value='<s:property value="department"/>'/>

	<input type="hidden" name="education" value='<s:property value="education"/>'/>
	<input type="hidden" name="teacherId" value='<s:property value="teacherId"/>'/>
	<input type="hidden" name="achievementType" value='<s:property value="achievementType"/>'/>
	<input type="hidden" name="startTime" value='<s:property value="startTime"/>'/>
	<input type="hidden" name="endTime" value='<s:property value="endTime"/>'/>
	<input type="hidden" name="cataloge" value='<s:property value="cataloge"/>'/>
</form>	
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          	  <tr> <td><input name="test" type="button" value="导出报表" onclick="change()"/></td></tr>
              <tr>
                <td height="40" class="font42">
				<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
				 <tr class="CTitle" >
                    	<td height="22" colspan="8" align="center" style="font-size:16px">指导学生科技创新列表</td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
				    <td width="5%" align="center" height="30">序号</td>
                    <td width="10%" align="center">活动编号</td>
                    <td width="20%" align="center">活动名称</td>
					<td width="10%" align="center">指导教师编号</td>
					<td width="10%" align="center">项目编号</td>
					<td width="20%" align="center">项目名称</td>
                    <td width="15%" align="center">发表年月</td>
					<td width="20%" align="center">操作</td>
                  </tr>
                  <%if(cgInnovatelist!=null&&cgInnovatelist.size()>0){
                    	for(CgInnovate cgInnovate:cgInnovatelist){
                   			i++;
                   %>
                  <tr bgcolor="#FFFFFF">
				    <td height="20" align="center"><%=i %></td>
                    <td  align="center"><%=cgInnovate.getInnovateId()!=null?cgInnovate.getInnovateId():"" %></td>
                    <td  align="center"><%=cgInnovate.getInnovateName()!=null?cgInnovate.getInnovateName():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=cgInnovate.getTeacherId()!=null?cgInnovate.getTeacherId():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=cgInnovate.getItemId()!=null?cgInnovate.getItemId():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=cgInnovate.getItemName()!=null?cgInnovate.getItemName():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=DateUtil1.dateToString(cgInnovate.getDate())!=null?DateUtil1.dateToString(cgInnovate.getDate()):""%></td>
                    <td align="center" bgcolor="#FFFFFF">
                        <a href="findTechnologicalInnovationById.action?id=<%=cgInnovate.getId() %>">编辑|</a>
						<a href="delTechnologicalInnovationById.action?id=<%=cgInnovate.getId()%>" onclick="if(confirm('你真的要删除吗？')==false)  return false;return true;">删除</a></td>
                  </tr>
                  <%	}%>
                  <tr  class="CTitle"><td colspan="9"  style="font-size: 14px;text-align: right">
  					<%@ include file="/share/paging.jsp" %>
 					</td></tr>
                  <%}else{ %>
                  <tr bgcolor="#FFFFFF">
                    <td height="20" align="center" colspan="8">暂时没有数据...</td>
                  </tr>
                  <%} %>
            </table></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"><img src="../images/spacer.gif" width="1" height="1" /></td>
        </tr>
        <tr>
          <td height="33"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="right-font08">
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
